Module: Aws::CloudWatch

Defined in:
lib/aws-sdk-cloudwatch/endpoint_parameters.rb,
lib/aws-sdk-cloudwatch/plugins/endpoints.rb,
lib/aws-sdk-cloudwatch/endpoint_provider.rb,
lib/aws-sdk-cloudwatch/composite_alarm.rb,
lib/aws-sdk-cloudwatch/client_api.rb,
lib/aws-sdk-cloudwatch/endpoints.rb,
lib/aws-sdk-cloudwatch/resource.rb,
lib/aws-sdk-cloudwatch/waiters.rb,
lib/aws-sdk-cloudwatch/metric.rb,
lib/aws-sdk-cloudwatch/errors.rb,
lib/aws-sdk-cloudwatch/client.rb,
lib/aws-sdk-cloudwatch/types.rb,
lib/aws-sdk-cloudwatch/alarm.rb,
lib/aws-sdk-cloudwatch.rb

Overview

This module provides support for Amazon CloudWatch. This module is available in the ‘aws-sdk-cloudwatch` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

cloud_watch = Aws::CloudWatch::Client.new
resp = cloud_watch.delete_alarms(params)

See Client for more information.

# Errors

Errors returned from Amazon CloudWatch are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::CloudWatch::Errors::ServiceError
  # rescues all Amazon CloudWatch API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Alarm, Client, CompositeAlarm, EndpointParameters, EndpointProvider, Metric, Resource

service collapse

GEM_VERSION =
'1.108.0'